<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>菜单界面</title>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/mobile.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/icon.css"/>">
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.mobile.js"/>"></script>

<script>
	function selectMater() {
		window.location.href = '<c:url value="/jsp-mobile/select/selectMater_mobile.jsp"/>';
	}
	function selectMaterSelf() {
		window.location.href = '<c:url value="/jsp-mobile/select/selectMaterSelf_mobile.jsp"/>';
	}
	function materPass() {
		window.location.href = '<c:url value="/jsp-mobile/ordermanage/customOrder_mobile.jsp"/>';
	}
	function materOrder() {
		window.location.href = '<c:url value="/jsp-mobile/ordermanage/customOrderMaterIndex_mobile.jsp"/>';
	}
	function turnover() {
		window.location.href = '<c:url value="/jsp-mobile/turnover/financingListForCust_mobile.jsp"/>';
	}
	function unusual() {
		window.location.href = '<c:url value="/jsp-mobile/unusual/unusualOrderForCust_mobile.jsp"/>';
	}
	function download() {
        window.location.href = '<c:url value="/jsp/documents/documentsDownForMobile.jsp"/>';
    }
	function test() {
        window.location.href = '<c:url value="/jsp-mobile/select/selectMater_mobile_test.jsp"/>';
    }
	
	
</script>
</head>
<body>
	<div class="easyui-navpanel">
		<header>
			<div class="m-toolbar">
				<span class="m-title">菜单界面</span>
			</div>
		</header>
		<div class="easyui-accordion"
			data-options="fit:true,border:false,selected:-1">
			<div>
				<header>
					<div class="hh-inner">
						<span>店长管理</span> <span class="m-badge" style="float: right">选菜，查看订单等</span>
					</div>
				</header>
				<ul class="m-list">
					<li onclick="selectMater()">公司集中采购</li>
					<li onclick="selectMaterSelf()">各店自己采购</li>
					<li onclick="materPass()">我的订单审核</li>
					<li onclick="materOrder()">我的供货商订单</li>

				</ul>
			</div>
			<div>
				<header>
					<div class="hh-inner">
						<span>异常管理</span> <span class="m-badge" style="float: right">查看以往异常，解决异常</span>
					</div>
				</header>
				<ul class="m-list">
					<li onclick="unusual()">异常操作</li>
				</ul>
			</div>
			<div>
				<header>
					<div class="hh-inner">
						<span>营业额管理</span> <span class="m-badge" style="float: right">录入营业额，查看营业额</span>
					</div>
				</header>
				<ul class="m-list">
					<li onclick="turnover()">营业额操作</li>
				</ul>
			</div>
			<div>
                <header>
                    <div class="hh-inner">
                        <span>资质管理</span> <span class="m-badge" style="float: right">查看资质，下载资质文件。</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="download()">文件列表</li>
                </ul>
            </div>
            <div>
                <header>
                    <div class="hh-inner">
                        <span>测试页面</span> <span class="m-badge" style="float: right"></span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="test()">测试页面</li>
                </ul>
            </div>
		</div>
	</div>
	<style scoped>
.hh-inner {
	position: relative;
	line-height: 20px;
	background: #fff;
	font-weight: bold;
	margin: -5px;
	padding: 5px;
}
</style>
</body>
</html>